package day8;

public class Point {
	int x;
	int y;
	public Point() {
		
	
	}
	
	public  Point(int x, int y) {
		this.x = x;
		this.y = y;
		
	
	}
	public void movePoint(int dx,int dy) {
		x = x + dx;
		y = y + dy;
		System.out.println(x+" "+y);
	}
	
	
	
}
